package com.colin.springboot.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by colinx on 2017/8/3.
 */
@RestController
public class HelloWorldController {

    @RequestMapping("/hello")
    public String sayHello(){

        return "hello world";
    }
}
